package com.fortune.service;

import com.fortune.dto.in.paymentMgt.DistributorPaymentAddDto;
import com.fortune.dto.in.paymentMgt.DistributorPaymentEditDto;
import com.fortune.dto.in.paymentMgt.DistributorPaymentListDto;
import com.fortune.vo.paymentMgt.DistributorPayment;
import com.fortune.vo.paymentMgt.DistributorPaymentDetail;

import java.util.List;

/**
 * Created by Administrator on 2018/5/29 0029.
 */
public interface PaymentMgtService {

    List<DistributorPayment> findDistributorPaymentList(DistributorPaymentListDto dto, String mid, String did);

    int findDistributorPaymentListCount(DistributorPaymentListDto dto, String mid, String did);

    DistributorPaymentDetail findDetail(String mid,String did,String paymentId);

    int add(DistributorPaymentAddDto addDto,String mid,String did,String id);

    int update(DistributorPaymentEditDto editDto,String mid,String did);

    int deletePayment(String mid,String did,String paymentId);
}
